import request from '@/utils/request'

export const CreditApi = {
  /**
     *  积分列表
     * @returns
     */
  getPage: (data) => {
    return request({
      url: '/manage/user/credit/getPage',
      data,
      method: 'post'
    })
  },

  /**
     *  更新
     * @returns
     */
  updateCredit: (data) => {
    return request({
      url: '/manage/user/credit/updateCredit',
      data,
      method: 'post'
    })
  }

}
